class HomeMsgListBean {
  List<HomeMsgBean> list;

  HomeMsgListBean({this.list});

  factory HomeMsgListBean.fromJson(List<dynamic> listJson) {
    List<HomeMsgBean> list =
        listJson.map((value) => HomeMsgBean.fromJson(value)).toList();
    return HomeMsgListBean(list: list);
  }
}

class HomeMsgBean {
  String title;
  int num;
  String tag;
  String imageCode;
  String appRouteUrl;

  HomeMsgBean(this.title, this.num, this.tag, this.imageCode, this.appRouteUrl);

  HomeMsgBean.fromJson(Map<String, dynamic> json) {
    this.title = json['title'];
    this.num = json['num'];
    this.tag = json['tag'];
    this.imageCode = json['imageCode'];
    this.appRouteUrl = json['appRouteUrl'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['title'] = this.title;
    data['num'] = this.num;
    data['tag'] = this.tag;
    data['imageCode'] = this.imageCode;
    data['appRouteUrl'] = this.appRouteUrl;
    return data;
  }
}
